package uml.structural.composite;

/**
 * 组合模式--叶子节点构件<br>
 * on 2022/12/25 0:53
 */
public class VideoFile extends LeafFile {
    public VideoFile(String fileName) {
        super(fileName);
    }

    @Override
    public void killVirus() {
        System.out.println("^^^^对视频文件["+this.fileName+"]杀毒");
    }
}
